<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2020/3/19
  Time: 8:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css" >
    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="../bootstrap/css/bootstrap-theme.min.css" >

    <title>$Title$</title>
</head>
<body>
<div class="row"><h1 style="margin-left: 200px">学生管理系统</h1></div>
<div class="row" style="font-size:8px">
    <div class="col-xs-3 col-md-2"><jsp:include page="../Left.jsp"></jsp:include></div>
    <div class="col-xs-9 col-md-4">
<form class="form-horizontal" method="post" action="update.do">
    <div class="form-group">
        <label for="id" class="col-sm-2 control-label">id</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="id" placeholder="student id" name="id" value="${student.id}" readonly>
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="col-sm-2 control-label">学生姓名</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="username" placeholder="username" name="name" value="${student.name}">
        </div>
    </div>
    <div class="form-group">
        <label for="password" class="col-sm-2 control-label">密码</label>
        <div class="col-sm-10">
            <input type="password" class="form-control" id="password" placeholder="password" name="password" value="${student.password}">
        </div>
    </div>
    <div class="form-group">
        <label for="clazz" class="col-sm-2 control-label">班级</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="clazz" placeholder="clazz" name="clazz" value="${student.clazz}">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">update student</button>
        </div>
    </div>
</form>
    </div>
<!-- 最新的 Bootstrap 核心 jquery 文件 -->
<script src="../bootstrap/js/jquery.js" ></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="../bootstrap/js/bootstrap.min.js" ></script>
</body>
</html>
